/* main.c */

#include <stdio.h>

#include "board.h"
#include "ili9486.h"

int main(void)
{
    board_init();

    printf("hello, world.\r\n");

    ili9486_init_hardware();
    ili9486_init();

    //ili9486_clear_screen(LCD_COLOR_BLUE  );
    //ili9486_draw_pixel(200u, 100u, LCD_COLOR_RED);

    while (1)
    {
        ili9486_clear_screen(LCD_COLOR_WHITE );
        ili9486_clear_screen(LCD_COLOR_BLACK );
        ili9486_clear_screen(LCD_COLOR_RED   );
        ili9486_clear_screen(LCD_COLOR_GREEN );
        ili9486_clear_screen(LCD_COLOR_BLUE  );
        ili9486_clear_screen(LCD_COLOR_YELLOW);

    }
}
/* EOF. */

